/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/7 10:23
 * @Copyright 博为峰
 */
public class Demo02 {
    public static void main(String[] args) {
        /*
           if(条件表达式){
              执行语句;
           }else{
              执行语句;
           }
         */

        int a = 6;
        if (a > 5) {
            if (a > 3) {
                System.out.println("a>3");
            } else {
                System.out.println("a<3");
            }
        } else {
            System.out.println("a < 5");
        }

        if (a > 5)
            if (a > 3) System.out.println("a>3");
            else System.out.println("a<3");
        else System.out.println("a < 5");
    }
}
